package com.itheima.model.behavior.vos;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 分类偏好视图对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CategoryPreferenceVo implements Serializable {
    
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("图书数量")
    private Integer bookCount;

    @ApiModelProperty("阅读时长（分钟）")
    private Integer readingTime;

    @ApiModelProperty("占比")
    private Double percentage;
}

